-
Notifications
You must be signed in to change notification settings - Fork 22
Rich error output during baseline establishment (CF-646) #265
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
place the regex in a common place and then import it within the test, if the regex every changes then the test will automatically pick the change
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
|
Looks like there are a few issues preventing this PR from being merged!
If you'd like me to help, just leave a comment, like
Feel free to include any additional details that might help me get this PR into a better state. You can manage your notification settings |
User description
It could help the user with cancelling the current run if certain modules are not found during a run.
this PR will only show the first import error as the code would stop executing the moment the first import fails. capturing all import errors will require a different way of test instrumentation.
PR Type
Enhancement
Description
Improve error reporting on missing modules
Detect ModuleNotFoundError in test outputs
Show errors using Rich panel
Add import for regex parsing
Changes walkthrough 📝
function_optimizer.py
Detect and display ModuleNotFoundErrorcodeflash/optimization/function_optimizer.py
refor error parsingTextandPanelfor styled output